type IFormType = 'input' | 'password' | 'select' | 'datepicker'
export interface IFormItem {
  type: IFormType
  label: string
  field: string
  rules?: any[]
  placeholder?: any
  // 针对于select
  options?: any[]
  // 针对于其他配置
  otherOptions?: any
  isHidden?: boolean
}

export interface IForm {
  formConfig: any[]
  labelWidth: string
  itemStyle?: string
  colLayout?: any
  btnConfig?: any[]
}
export interface Ibtn {
  btnText: string
  show: boolean
  type: string
  icon: string
  // callback: any
}
